<?php

/**
 * This is the model class for table "kodo_kodostudios_metadata".
 */
require_once(dirname(__FILE__).'/base/MetadataBase.php');
class Metadata extends MetadataBase
{
    protected function beforeSave()
    {
        if ($this->getIsNewRecord())
            $this->creation_datetime = date('Y-m-d H:i:s');
        $this->last_update = date('Y-m-d H:i:s');
        return parent::beforeSave();
    }
}